﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wmreturn_url.aspx.cs" Inherits="wmreturn_url" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>地接客支付结果</title>
    <%=getMeta()%>
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/mGlobal.css" charset="gbk" />
    <link href="/themes/mStyle1/css/home/base.css" rel="stylesheet" />
    <%=getBodyBeforeJs()%>
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jmPage.js,themes/Style1/jsQt.js,jqPlugin/js/laytpl.js"
        type="text/javascript"></script>
    <script type="text/javascript" src="/jqPlugin/js/jBase.js"></script>
    <script type="text/javascript">
        $(window).load(function () {

        });
    </script>
    <!--head fix rgn-->
    <style type="text/css">
       
    </style>
    <link rel="stylesheet" href="/themes/mStyle1/mSearch.css" />
    <link href="/themes/mStyle1/css/public/mVehicleInfo.css" rel="stylesheet" />
    <%--    <link rel="stylesheet" href="/themes/Style1/schList.css" />--%>
    <base target="_self" />
    <style type="text/css">
        .wrap-pay-result {
            width: 100%;
            padding: 15px 25px;
        }

        .pay-result {
            line-height: 30px;
            font-size: 16px;
            font-family: 微软雅黑;
            color: #1da2e5;
            text-align: center;
        }

            .pay-result img {
                width: 5%;
                max-width: 100px;
                min-width: 25px;
                vertical-align: middle;
                margin-right: 10px;
            }

        .fail-msg, .pay-balance, .order-desc, .order-name, .order-no {
            font-size: 14px;
            font-family: 微软雅黑;
            line-height: 20px;
            color: #f00;
            width: 100%;
            text-align: center;
            margin: 10px 0;
        }

        .fail-msg {
            display: none;
        }

        .pay-balance, .order-desc, .order-name, .order-no {
            color: #333;
        }

        .balance-num {
            font-size: 18px;
        }

        .wrap-order-info {
            width: 100%;
            min-height: 20px;
            margin-top: 10px;
            text-align: center;
        }

        #btnShowOrderDetail {
            padding: 5px 10px;
            border: 0;
            background-color: #1da2e5;
            color: #fff;
            font-family: 微软雅黑;
            font-size: 14px;
            cursor: pointer;
        }

            #btnShowOrderDetail:hover {
                opacity: 0.8;
            }
    </style>
</head>
<body>
    <div class="viewport">
        <%=msBsc.WebUi.Code.QtHtmlGet.GetWapHeaderMenuHtml(true) %>
        <div class="wrap-pay-result">
            <div class="pay-result">
                <img src="/themes/mStyle1/Image/public/SuccessItem_01.png" id="reuslt-img" />
                <span id="showMsg">支付成功</span>
            </div>
            <div class="fail-msg">
                原因: <span class="fail-msg-val"></span>
            </div>
            <div class="pay-balance">
                支付金额: <span class="balance-num">￥400.00</span>
            </div>
            <div class="order-no">
                订单编号: <span class="order-no-val"></span>
            </div>
            <div class="order-name">
                订单名称: <span class="order-name-val"></span>
            </div>
            <div class="order-desc">
                订单描述: <span class="order-desc-val"></span>
            </div>
        </div>
        <div class="wrap-order-info">
            <input type="button" id="btnShowOrderDetail" value="查看订单详情" />
        </div>

        <%=msBsc.WebUi.Code.QtHtmlGet.GetWapMenuHtml() %>
    </div>
    <script type="text/javascript">

        $(function () {
            $("#h_title").text("订单支付返回信息");
        })
        $(document).ready(function () {
            $.getMessageCount();
        });

        function ShowPaiedInfo(isSuccess, failMsg, payBalan, orderNme, orderNo, orderDesc, orderId) {
            if (isSuccess != "Y") {
                $("#reuslt-img").attr("src", "/themes/mStyle1/Image/public/error.png");
                $("#showMsg").text("支付失败!").css("color", "#f00");
                $(".fail-msg-val").text(failMsg);
                $(".pay-balance").hide();
                $(".fail-msg").show();
            } else {
                $(".balance-num").text("￥" + payBalan);
            }

            $(".order-no-val").text(orderNo);
            $(".order-name-val").text(orderNme);
            $(".order-desc-val").text(orderDesc);
            $("#btnShowOrderDetail").click(function () {
                window.location.href = "/mb_OrderInfo.htm?orderId=" + orderId;
            });
        }
    </script>
</body>
<%=getBodyAfterJs() %>
</html>
